home *** CD-ROM | disk | FTP | other *** search
- PRINTING A FILE
-
- To print a file, press the <WRITE> command, and when you are
- prompted for the name of the file to write to, press <RETURN>. You are
- then given a menu of options which control the printing. We will
- discuss some of these options below. The default value for most of the
- options can be set in the WPPRMENU file.
-
- After altering the values in the printer menu, type <CTRL> D to
- begin the printing operation, type 'Q' to return to your file and not
- print.
-
- The left margin specifies the number of spaces the printer will
- skip (minus 1) before it prints each line. If you type your document
- in the word processor with a margin of 1, and then specify a margin of
- 5 in the printer menu, then the printer will print 4 spaces before
- printing each line.
-
- The right margin option is really not implemented in this version,
- since NYW is a WYSIWYG word processor.
-
- The page shift option tells how many spaces each line on every ODD
- numbered page will be shifted over. This is useful if you are working
- with two-sided manuscripts.
-
- There are two parameters which tell where the text body should
- start and end, and where the headers and footers should begin.
-
- If you need to print a single sheet at a time, turn on the pause
- option. After a page is printed, NYW will prompt you to insert a new
- piece of paper in the printer. After you do that, type any character
- on the keyboard and this printing will resume.
-
- You can specify what page you would like the headers and footers
- to start on. This option would be used if you did not want a header or
- footer to appear on the first page (company letterhead, start of
- chapter, etc.)
-
- The printer device option specifies the output device. For the IBM
- PC, the default in PRN:. You can also print to a disk file. To do
- this, start the output device name with a backslash (ie - "\foo" will
- print the document to a disk file called "foo"). If you want to, you
- can then edit this disk file, and send the result to the printer by
- typing a command like "TYPE FOO > PRN:". (By the way, if you press the
- <NEXT PARA> key in the printer menu, you will be moved automatically
- to this option.)
-
- You can specify "temporary" headers and footers to be printed.
- The headers and footers that you create in the printer menu WILL NOT
- be saved with your document, unlike the headers and footers created in
- the format menu.
-
- If you are in the processing of printing a file, and you either
- try to exit the word processor or try to print another file, NYW will
- warn you that you are in the process of printing. NYW will ask you if
- you want to abort the current print job - type 'y' if you want to.
- (Due to the fact that many printers have internal memory to buffer
- characters, the printing may not stop right away.)
-
- DOT COMMANDS
-
- Some word processors use "dot commands" to control printing.
- Although NYW is a WYSIWYG word processor, there are a few special "dot
- commands" that are available. If you use a dot command, the dot must
- start at column 1 (or the left margin).
-
- The ".TR" command allows any characters to be translated into any
- string of characters at print time. For instance, the command
- .TR !=$$, @=\E^F, #=243
- says that from this point on, every time the print operation sees an
- an exclamation point in your file, it will send two dollar signs to
- the printer. Likewise, every time the print operation encounters an at
- sign, it will send an ESCAPE followed by a CTRL F to the printer.
- Also, when we see a pound sign, the decimal value 243 will be sent to
- the printer (on most printers, this will print some sort of graphic).
- To see characters are valid after the '=' sign, refer to the
- WPPRMENU file.
-
- The ".IN" option takes a file name as its parameter, and
- "includes" that file in the print operation. For instance, if in the
- middle of your document the print operation finds the line
- .IN foo
- then the file named "foo" will be printed at that instant. After "foo"
- is finished being printed, the rest of your file will continue to be
- printed.
-